package com.easyedu.helper.feign;

import com.easyedu.core.util.R;
import com.easyedu.dean.entity.dto.request.ReqTeacher;
import java.util.List;
import javax.validation.Valid;
import org.springframework.web.bind.annotation.RequestBody;

//@FeignClient(name = "easyedu-dean")

public interface DeanClient {

     /**
      * 创建教师
      *
      * @param teachers
      * @return
      */
//     @RequestMapping("/teacher")
     R createTeachers(@RequestBody @Valid List<ReqTeacher> teachers);

     /**
      * 查询所有专业
      *
      * @return
      */
//     @RequestMapping("/institute")
     R getInstitute();

}
